package infolayer2;

import infolayer2.filter.InfolayerXmlImport;
import infolayer2.graph.Graph;
import infolayer2.graph.Node;

import java.io.File;
import java.io.FileInputStream;



public class Ls8Import {
  
  public static void main(String[] args) throws Exception {
    
    Graph graph = new Graph();
    
    
    InfolayerXmlImport ls8Import = new InfolayerXmlImport(graph, "/ls8/");
    
    ls8Import.process(new FileInputStream("/Users/haustein/Desktop/misc/ls8il/instances.xml"));
    
    System.out.println("[");
    String sep = "";
    for (Node entity : graph) {
      System.out.print(sep + entity);
      sep = ",\n";
    }
    System.out.println("]");
  }

}
